package com.atguigu.mobileplayer2;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;

import com.atguigu.mobileplayer2.view.MyLyricView1;

public class LyricActivity extends AppCompatActivity {

    MyLyricView1 myLyricView1;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_lyric);
        myLyricView1 = findViewById(R.id.mylyriceview1);
    }

    int index=6;
    public void nextSentence(View veiw){
        myLyricView1.setshowNextLyric(index++);
    }

}